import { UserModule } from '@/store/modules/user'

const validPermission = (auth: string) => {
  const auths: any[] = UserModule.auths
  return auths.includes(auth)
}

export default validPermission
